home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / HyperTalk / Stack Starter ß.976 / Stack Starter fl.976 / card_16874.txt < prev    next >
Encoding:
Text File  |  1988-08-03  |  13.0 KB  |  659 lines

  1. -- card: 16874 from stack: in.976
  2. -- bmap block id: 14993
  3. -- flags: 0000
  4. -- background id: 2295
  5. -- name: animated icons 5
  6. ----- HyperTalk script -----
  7. on closeCard
  8.   show card btn id 18
  9.   show card btn id 19
  10.   pass closeCard
  11. end closeCard
  12.  
  13. on idle
  14.   if visible of field "Mouse Loc2" is true then
  15.     put the mouseLoc into field "Mouse Loc2"
  16.   end if
  17.   send action to btn "Fly"
  18.   send idle to stack
  19.   exit idle
  20. end idle
  21.  
  22.  
  23. -- part 11 (field)
  24. -- low flags: 01
  25. -- high flags: 0000
  26. -- rect: left=0 top=76 right=283 bottom=301
  27. -- title width / last selected line: 0
  28. -- icon id / first selected line: 0 / 0
  29. -- text alignment: 0
  30. -- font id: 3
  31. -- text size: 12
  32. -- style flags: 0
  33. -- line height: 16
  34. -- part name: 
  35. ----- HyperTalk script -----
  36. on mouseEnter
  37.   Ninja L
  38. end mouseEnter
  39.  
  40.  
  41. -- part 1 (button)
  42. -- low flags: 00
  43. -- high flags: A004
  44. -- rect: left=34 top=92 right=142 bottom=73
  45. -- title width / last selected line: 0
  46. -- icon id / first selected line: 4348 / 4348
  47. -- text alignment: 1
  48. -- font id: 0
  49. -- text size: 12
  50. -- style flags: 8192
  51. -- line height: 16
  52. -- part name: Cross
  53. ----- HyperTalk script -----
  54. on mouseUp
  55.   repeat with i = 4342 to 4348
  56.     set icon of me to i
  57.   end repeat
  58.   Ninja Blink
  59.   Ninja L
  60. end mouseUp
  61.  
  62. on mouseEnter
  63.   Ninja L
  64. end mouseEnter
  65.  
  66.  
  67. -- part 2 (button)
  68. -- low flags: 00
  69. -- high flags: A000
  70. -- rect: left=34 top=144 right=194 bottom=73
  71. -- title width / last selected line: 0
  72. -- icon id / first selected line: 26154 / 26154
  73. -- text alignment: 1
  74. -- font id: 0
  75. -- text size: 12
  76. -- style flags: 8192
  77. -- line height: 16
  78. -- part name: 
  79. ----- HyperTalk script -----
  80. on mouseUp
  81.   --set hilite of me to false
  82.   set icon of me to 21244
  83.   set icon of me to 29953
  84.   set icon of me to 736
  85.   set icon of me to 30538
  86.   set icon of me to 13788
  87.   set icon of me to 29666
  88.   set icon of me to 13964
  89.   --set hilite of me to true
  90.   set icon of me to 13964
  91.   set icon of me to 29666
  92.   set icon of me to 13788
  93.   set icon of me to 30538
  94.   set icon of me to 736
  95.   set icon of me to 29953
  96.   set icon of me to 21244
  97.   set icon of me to 26154
  98.   Ninja Blink
  99.   Ninja L
  100. end mouseUp
  101.  
  102. on mouseEnter
  103.   Ninja L
  104. end mouseEnter
  105.  
  106.  
  107.  
  108. -- part 3 (button)
  109. -- low flags: 00
  110. -- high flags: A004
  111. -- rect: left=34 top=196 right=246 bottom=73
  112. -- title width / last selected line: 0
  113. -- icon id / first selected line: 6132 / 6132
  114. -- text alignment: 1
  115. -- font id: 0
  116. -- text size: 12
  117. -- style flags: 8192
  118. -- line height: 16
  119. -- part name: Shark
  120. ----- HyperTalk script -----
  121. on mouseUp
  122.   set icon of me to 6132
  123.   send mouseEnter to btn "Jaws"
  124.   Ninja Blink
  125.   Ninja L
  126. end mouseUp
  127.  
  128. on mouseEnter
  129.   Ninja L
  130. end mouseEnter
  131. set icon of me to 28451
  132. set icon of me to 6327
  133. set icon of me to 28451
  134. set icon of me to 6327
  135. set icon of me to 28451
  136. set icon of me to 6327
  137. set icon of me to 26154
  138.  
  139.  
  140. -- part 4 (button)
  141. -- low flags: 00
  142. -- high flags: A004
  143. -- rect: left=34 top=248 right=298 bottom=73
  144. -- title width / last selected line: 0
  145. -- icon id / first selected line: 6167 / 6167
  146. -- text alignment: 1
  147. -- font id: 0
  148. -- text size: 12
  149. -- style flags: 8192
  150. -- line height: 16
  151. -- part name: Mac
  152. ----- HyperTalk script -----
  153. on mouseUp
  154.   repeat with i = 6167 to 6170
  155.     set icon of me to i
  156.   end repeat
  157.   set icon of me to 5167
  158.   repeat with i = 6170 down to 6167
  159.     set icon of me to i
  160.   end repeat
  161.   Ninja Blink
  162.   Ninja L
  163. end mouseUp
  164.  
  165. on mouseEnter
  166.   Ninja L
  167. end mouseEnter
  168.  
  169. set icon of me to 11675
  170. set icon of me to 20559
  171. set icon of me to 11675
  172. set icon of me to 20559
  173. set icon of me to 11675
  174. set icon of me to 20559
  175. set icon of me to 26154
  176.  
  177.  
  178.  
  179. -- part 5 (button)
  180. -- low flags: 00
  181. -- high flags: A004
  182. -- rect: left=301 top=92 right=142 bottom=340
  183. -- title width / last selected line: 0
  184. -- icon id / first selected line: 6156 / 6156
  185. -- text alignment: 1
  186. -- font id: 0
  187. -- text size: 12
  188. -- style flags: 0
  189. -- line height: 16
  190. -- part name: Dino
  191. ----- HyperTalk script -----
  192. on mouseUp
  193.   repeat 3 times
  194.     set icon of me to 6154
  195.     set icon of me to 6155
  196.     set icon of me to 6156
  197.   end repeat
  198.   Ninja Blink
  199.   Ninja U
  200. end mouseUp
  201.  
  202. on mouseEnter
  203.   Ninja U
  204. end mouseEnter
  205.  
  206.  
  207.  
  208. -- part 6 (button)
  209. -- low flags: 00
  210. -- high flags: 8004
  211. -- rect: left=301 top=144 right=194 bottom=340
  212. -- title width / last selected line: 0
  213. -- icon id / first selected line: 4138 / 4138
  214. -- text alignment: 1
  215. -- font id: 0
  216. -- text size: 12
  217. -- style flags: 0
  218. -- line height: 16
  219. -- part name: Ninja
  220. ----- HyperTalk script -----
  221. on mouseUp
  222.   repeat with iconid = 4137 to 4145
  223.     set icon of me to iconid
  224.   end repeat
  225.   set icon of me to 4137
  226. end mouseUp
  227.  
  228. on mouseEnter
  229.   Ninja C
  230. end mouseEnter
  231.  
  232.  
  233.  
  234.  
  235. -- part 7 (button)
  236. -- low flags: 00
  237. -- high flags: 8000
  238. -- rect: left=301 top=196 right=246 bottom=340
  239. -- title width / last selected line: 0
  240. -- icon id / first selected line: 1463 / 1463
  241. -- text alignment: 1
  242. -- font id: 0
  243. -- text size: 12
  244. -- style flags: 0
  245. -- line height: 16
  246. -- part name: 
  247. ----- HyperTalk script -----
  248. on mouseUp
  249.   set icon of me to 8437
  250.   set icon of me to 8719
  251.   set icon of me to 12999
  252.   set icon of me to 10385
  253.   set icon of me to 1805
  254.   set icon of me to 30495
  255.   set icon of me to 19
  256.   --end mouseUp
  257.   --set hilite of me to true
  258.   set icon of me to 19
  259.   set icon of me to 30495
  260.   set icon of me to 1805
  261.   set icon of me to 10385
  262.   set icon of me to 12999
  263.   set icon of me to 8719
  264.   set icon of me to 8437
  265.   set icon of me to 1463
  266.   -- set hilite of me to false
  267.   Ninja Blink
  268.   Ninja D
  269. end mouseUp
  270.  
  271. on mouseEnter
  272.   Ninja D
  273. end mouseEnter
  274.  
  275.  
  276.  
  277.  
  278.  
  279. -- part 8 (button)
  280. -- low flags: 00
  281. -- high flags: C004
  282. -- rect: left=301 top=248 right=298 bottom=340
  283. -- title width / last selected line: 0
  284. -- icon id / first selected line: 4011 / 4011
  285. -- text alignment: 1
  286. -- font id: 0
  287. -- text size: 12
  288. -- style flags: 0
  289. -- line height: 16
  290. -- part name: Optical
  291. ----- HyperTalk script -----
  292. on mouseUp
  293.   set hilite of me to true
  294.   repeat 2 times
  295.     set icon of me to 4012
  296.     set icon of me to 4011
  297.   end repeat
  298.   Ninja Blink
  299.   Ninja D
  300. end mouseUp
  301.  
  302. on mouseEnter
  303.   Ninja D
  304. end mouseEnter
  305.  
  306.  
  307. -- part 9 (button)
  308. -- low flags: 00
  309. -- high flags: 8004
  310. -- rect: left=84 top=181 right=195 bottom=272
  311. -- title width / last selected line: 0
  312. -- icon id / first selected line: 0 / 0
  313. -- text alignment: 1
  314. -- font id: 0
  315. -- text size: 12
  316. -- style flags: 0
  317. -- line height: 16
  318. -- part name: Click Here to Hide Artwork
  319. ----- HyperTalk script -----
  320. on mouseUp
  321.   show card btn "Click Here to Show Artwork"
  322.   show card btn "Show Artwork"
  323.   set icon of card btn "Ninja" to 4145
  324.   set icon of card btn "Ninja" to 4138
  325. end mouseUp
  326.  
  327.  
  328.  
  329. -- part 10 (button)
  330. -- low flags: 00
  331. -- high flags: A004
  332. -- rect: left=98 top=283 right=301 bottom=193
  333. -- title width / last selected line: 0
  334. -- icon id / first selected line: 0 / 0
  335. -- text alignment: 1
  336. -- font id: 0
  337. -- text size: 12
  338. -- style flags: 0
  339. -- line height: 16
  340. -- part name: Play All
  341. ----- HyperTalk script -----
  342. on mouseUp
  343.   PlayAll
  344. end mouseUp
  345.  
  346.  
  347.  
  348. -- part 12 (field)
  349. -- low flags: 01
  350. -- high flags: 0000
  351. -- rect: left=339 top=76 right=297 bottom=512
  352. -- title width / last selected line: 0
  353. -- icon id / first selected line: 0 / 0
  354. -- text alignment: 0
  355. -- font id: 3
  356. -- text size: 12
  357. -- style flags: 0
  358. -- line height: 16
  359. -- part name: 
  360. ----- HyperTalk script -----
  361. on mouseEnter
  362.   Ninja R
  363. end mouseEnter
  364.  
  365.  
  366.  
  367. -- part 13 (field)
  368. -- low flags: 00
  369. -- high flags: 0000
  370. -- rect: left=300 top=76 right=93 bottom=340
  371. -- title width / last selected line: 0
  372. -- icon id / first selected line: 0 / 0
  373. -- text alignment: 0
  374. -- font id: 3
  375. -- text size: 12
  376. -- style flags: 0
  377. -- line height: 16
  378. -- part name: 
  379. ----- HyperTalk script -----
  380. on mouseEnter
  381.   Ninja U
  382. end mouseEnter
  383.  
  384.  
  385. -- part 14 (field)
  386. -- low flags: 01
  387. -- high flags: 0000
  388. -- rect: left=0 top=39 right=59 bottom=512
  389. -- title width / last selected line: 0
  390. -- icon id / first selected line: 0 / 0
  391. -- text alignment: 0
  392. -- font id: 3
  393. -- text size: 12
  394. -- style flags: 0
  395. -- line height: 16
  396. -- part name: 
  397. ----- HyperTalk script -----
  398. on mouseEnter
  399.   Ninja U
  400. end mouseEnter
  401.  
  402.  
  403.  
  404. -- part 15 (button)
  405. -- low flags: 00
  406. -- high flags: 0000
  407. -- rect: left=314 top=156 right=174 bottom=326
  408. -- title width / last selected line: 0
  409. -- icon id / first selected line: 0 / 0
  410. -- text alignment: 1
  411. -- font id: 0
  412. -- text size: 12
  413. -- style flags: 0
  414. -- line height: 16
  415. -- part name: 
  416. ----- HyperTalk script -----
  417. on mouseEnter
  418.   repeat 2
  419.     set icon of card btn "Ninja" to 4142
  420.     Ninja Blink
  421.     set icon of card btn "Ninja" to 4142
  422.   end repeat
  423. end mouseEnter
  424.  
  425.  
  426.  
  427. -- part 16 (button)
  428. -- low flags: 00
  429. -- high flags: 0000
  430. -- rect: left=304 top=156 right=170 bottom=316
  431. -- title width / last selected line: 0
  432. -- icon id / first selected line: 0 / 0
  433. -- text alignment: 1
  434. -- font id: 0
  435. -- text size: 12
  436. -- style flags: 0
  437. -- line height: 16
  438. -- part name: 
  439. ----- HyperTalk script -----
  440. on mouseEnter
  441.   Ninja winkL
  442. end mouseEnter
  443.  
  444.  
  445.  
  446. -- part 17 (button)
  447. -- low flags: 00
  448. -- high flags: 0000
  449. -- rect: left=324 top=156 right=170 bottom=336
  450. -- title width / last selected line: 0
  451. -- icon id / first selected line: 0 / 0
  452. -- text alignment: 1
  453. -- font id: 0
  454. -- text size: 12
  455. -- style flags: 0
  456. -- line height: 16
  457. -- part name: 
  458. ----- HyperTalk script -----
  459. on mouseEnter
  460.   Ninja winkR
  461. end mouseEnter
  462.  
  463.  
  464.  
  465. -- part 18 (button)
  466. -- low flags: 00
  467. -- high flags: 8001
  468. -- rect: left=76 top=94 right=282 bottom=289
  469. -- title width / last selected line: 0
  470. -- icon id / first selected line: 0 / 0
  471. -- text alignment: 1
  472. -- font id: 0
  473. -- text size: 12
  474. -- style flags: 0
  475. -- line height: 16
  476. -- part name: Click Here to Show Artwork
  477. ----- HyperTalk script -----
  478. on mouseUp
  479.   set visible of me to not visible of me
  480.   if visible of me is false then hide card btn id 19
  481.   Ninja Blink
  482.   Ninja L
  483. end mouseUp
  484.  
  485. on mouseEnter
  486.   Ninja L
  487. end mouseEnter
  488.  
  489.  
  490. -- part 19 (button)
  491. -- low flags: 00
  492. -- high flags: 0001
  493. -- rect: left=342 top=93 right=286 bottom=492
  494. -- title width / last selected line: 0
  495. -- icon id / first selected line: 0 / 0
  496. -- text alignment: 1
  497. -- font id: 0
  498. -- text size: 12
  499. -- style flags: 0
  500. -- line height: 16
  501. -- part name: Show Artwork
  502. ----- HyperTalk script -----
  503. on mouseUp
  504.   set visible of me to not visible of me
  505.   set icon of card btn "Ninja" to 4145
  506.   set icon of card btn "Ninja" to 4140
  507. end mouseUp
  508.  
  509. on mouseEnter
  510.   Ninja R
  511. end mouseEnter
  512.  
  513.  
  514.  
  515. -- part 20 (button)
  516. -- low flags: 00
  517. -- high flags: 0000
  518. -- rect: left=177 top=193 right=229 bottom=215
  519. -- title width / last selected line: 0
  520. -- icon id / first selected line: 0 / 0
  521. -- text alignment: 1
  522. -- font id: 0
  523. -- text size: 12
  524. -- style flags: 0
  525. -- line height: 16
  526. -- part name: Jaws
  527. ----- HyperTalk script -----
  528. on mouseEnter
  529.   global Jaws2
  530.   put name of the target into me
  531.   if Jaws2 <> empty then
  532.     put name of me into me
  533.     put the mouseloc into move2
  534.     show me at move2
  535.     repeat 3
  536.       set icon of me to 6135
  537.       play "Crunch"
  538.       set cursor to -1
  539.       set icon of me to 6136
  540.     end repeat
  541.     set icon of me to 0
  542.     wait 5 secs
  543.     put empty into Jaws2
  544.   else
  545.     put 1 into Jaws2
  546.     repeat with i = 6130 to 6132
  547.       set icon of me to i
  548.       put loc of me into move1
  549.       subtract 25 from item 1 of move1
  550.       show me at move1
  551.     end repeat
  552.     swim
  553.   end if
  554. end mouseEnter
  555.  
  556. on swim
  557.   global Jaws2
  558.   repeat until Jaws2 is empty
  559.     put name of me into me
  560.     put loc of me into move1
  561.     put the mouseloc into move2
  562.     if item 1 of move1 - item 1 of move2 > 13 then
  563.       set icon of me to 6132
  564.     end if
  565.     if item 1 of move2 - item 1 of move1 > 13 then
  566.       set icon of me to 6134
  567.     end if
  568.     if item 2 of move1 - item 2 of move2 > 5 then
  569.       set icon of me to 6133
  570.     end if
  571.     if item 2 of move2 - item 2 of move1 > 5 then
  572.       set icon of me to 6137
  573.     end if
  574.     set the loc of me to the mouseLoc
  575.     if move1 = move2 then mouseEnter
  576.   end repeat
  577. end swim
  578.  
  579.  
  580. -- part 21 (button)
  581. -- low flags: 00
  582. -- high flags: C004
  583. -- rect: left=309 top=311 right=327 bottom=352
  584. -- title width / last selected line: 0
  585. -- icon id / first selected line: 0 / 0
  586. -- text alignment: 1
  587. -- font id: 0
  588. -- text size: 12
  589. -- style flags: 0
  590. -- line height: 16
  591. -- part name: Icons
  592. ----- HyperTalk script -----
  593. on mouseUp
  594.   set hilite of me to true
  595.   doMenu short name of me
  596. end mouseUp
  597.  
  598.  
  599.  
  600. -- part 24 (button)
  601. -- low flags: 00
  602. -- high flags: 0000
  603. -- rect: left=209 top=221 right=279 bottom=281
  604. -- title width / last selected line: 0
  605. -- icon id / first selected line: 2 / 2
  606. -- text alignment: 1
  607. -- font id: 0
  608. -- text size: 12
  609. -- style flags: 0
  610. -- line height: 16
  611. -- part name: fly
  612. ----- HyperTalk script -----
  613. on action
  614.   put random(3) into this
  615.   if this <2 then exit action
  616.   put the loc of me into temp
  617.   if item 2 of temp <1 then put 342 into item 2 of temp
  618.   else subtract 10 from item 2 of temp
  619.   if icon of me is 1 then set icon of me to 2
  620.   else set icon of me to 1
  621.   show btn "Fly" at temp
  622. end action
  623.  
  624. on mouseEnter
  625.   repeat random(12)
  626.     put random(512) into temp
  627.     put " ," & random(342) after temp
  628.     show btn "Fly" at temp
  629.   end repeat
  630. end mouseEnter
  631.  
  632.  
  633. -- part contents for background part 56
  634. ----- text -----
  635. animated icons 5
  636.  
  637. -- part contents for background part 78
  638. ----- text -----
  639. Prev Card: animated icons 4
  640.  
  641. -- part contents for background part 79
  642. ----- text -----
  643. Next Card: animated icons 6
  644.  
  645. -- part contents for background part 68
  646. ----- text -----
  647. 164,70
  648.  
  649. -- part contents for background part 67
  650. ----- text -----
  651. Mouse Location:
  652.  
  653. -- part contents for background part 82
  654. ----- text -----
  655. Free Space:
  656.  
  657. -- part contents for background part 83
  658. ----- text -----
  659. 18.41 K